<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/Css/tools.css" rel="stylesheet" type="text/css"/>
<title>个人住房公积金贷款计算器_大泉州房产</title>
</HEAD>
<BODY>
<div class="pg">
<!--上面-->
  <div class="logo1"><img src="/images/v1/common/logo.gif" /></div>
  <div class="logo2"><a href="/">首页</a><a href="/login.html">登录</a><a href="/reg.html">注册</a></div>
  <div class="dh"><img src="/images/v1/tools/ht.gif" /></div>
  <div class="dh1"> <a href="/">房产首页</a>&gt;<a href="/htmls/tools/jsq1.htm">购房工具</a>&gt;<a> 税费计算器</a> </div>
  <!--中间-->
  <div class="main">
  <!--左边-->
    <div class="left"> <img src="/images/v1/tools/gfgj.gif" />
      <div class="left1"><a href="/htmls/tools/jsq1.htm">税费计算器</a></div>
      <div class="left1"><a href="/htmls/tools/jsq2.htm" >提前还贷计算器</a></div>
      <div class="left1"><a href="/htmls/tools/hkf1.htm">等额本息还款法</a></div>
      <div class="left1"><a href="/htmls/tools/hkf2.htm">等额本金还款法</a></div>
      <div class="left1"><a href="/htmls/tools/gfnl.htm">购房能力评估</a></div>
      <div class="left1"><a href="/htmls/tools/jsq3.htm" style="font-weight:bold">个人住房公积金贷款计算器</a> </div>
      <div class="bod">
        <table cellspacing="0" bgcolor="#FFFFFF">
          <tr align="center" bgcolor="#fffbec">
            <td height="22" colspan="3" bgcolor="#fffbec"><b>公积金贷款利率</b></td>
          </tr>
          <tr >
            <td height="22" bgcolor="#FAEAB8">年限</td>
            <td bgcolor="#FAEAB8" >1-5年</td>
            <td bgcolor="#FAEAB8" >5-30年</td>
          </tr>
          <tr>
            <td>2005.1.1前</td>
            <td>3.60%</td>
            <td>4.05%</td>
          </tr>
          <tr>
            <td>2005.1.1-3.16</td>
            <td>3.78%</td>
            <td>4.23%</td>
          </tr>
          <tr>
            <td>2005.3.17-2006.5.7</td>
            <td>3.96%</td>
            <td>4.41%</td>
          </tr>
          <tr>
            <td>2006.5.8后</td>
            <td>4.14%</td>
            <td>4.59%</td>
          </tr>
          <tr>
            <td>2007.3.18后</td>
            <td>4.32%</td>
            <td>4.77%</td>
          </tr>
          <tr>
            <td>2007.5.19后</td>
            <td>4.41%</td>
            <td>4.86%</td>
          </tr>
          <tr>
            <td>2007.7.21后</td>
            <td>4.5%</td>
            <td>4.95%</td>
          </tr>
          <tr>
            <td>2007.8.22后</td>
            <td>4.59%</td>
            <td>5.04%</td>
          </tr>
          <tr>
            <td>2007.9.14后</td>
            <td>4.77%</td>
            <td>5.22%</td>
          </tr>
          <tr>
            <td>2007.12.21后</td>
            <td>4.77%</td>
            <td>5.22%</td>
          </tr>
          <tr align="center" bgcolor="#fffbec">
            <td height="22" colspan="3"><b>商业性贷款利率</b></td>
          </tr>
          <tr>
            <td height="22" bgcolor="#FAEAB8">年限</td>
            <td bgcolor="#FAEAB8">1-5年</td>
            <td bgcolor="#FAEAB8">5-30年</td>
          </tr>
          <tr>
            <td>2005.1.1日前</td>
            <td>4.77%</td>
            <td>5.04%</td>
          </tr>
          <tr>
            <td>2005.1.1-3.16</td>
            <td>4.95%</td>
            <td>5.31%</td>
          </tr>
          <tr>
            <td>2005.3.17-2006.4.27下限</td>
            <td>5.27%</td>
            <td>5.51%</td>
          </tr>
          <tr>
            <td>2005.3.17-2006.4.27上限</td>
            <td>5.85%</td>
            <td>6.12%</td>
          </tr>
          <tr>
            <td>2006.4.28后下限</td>
            <td>5.51%</td>
            <td>5.75%</td>
          </tr>
          <tr>
            <td>2006.4.28后上限</td>
            <td>6.12%</td>
            <td>6.39%</td>
          </tr>
          <tr>
            <td>2006.8.19后下限</td>
            <td>5.51%</td>
            <td>5.81%</td>
          </tr>
          <tr>
            <td>2006.8.19后上限</td>
            <td>6.48%</td>
            <td>6.84%</td>
          </tr>
          <tr>
            <td>2007.3.18后下限</td>
            <td>5.74%</td>
            <td>6.04%</td>
          </tr>
          <tr>
            <td>2007.3.18后上限</td>
            <td>6.75%</td>
            <td>7.11%</td>
          </tr>
          <tr>
            <td>2007.5.19后下限</td>
            <td>5.89%</td>
            <td>6.12%</td>
          </tr>
          <tr>
            <td>2007.5.19后上限</td>
            <td>6.93%</td>
            <td>7.20%</td>
          </tr>
          <tr>
            <td>2007.7.21后下限</td>
            <td>6.12%</td>
            <td>6.27%</td>
          </tr>
          <tr>
            <td>2007.7.21后上限</td>
            <td>7.20%</td>
            <td>7.38%</td>
          </tr>
          <tr>
            <td>2007.8.22后下限</td>
            <td>6.27%</td>
            <td>6.43%</td>
          </tr>
          <tr>
            <td>2007.8.22后上限</td>
            <td>7.38%</td>
            <td>7.56%</td>
          </tr>
          <tr>
            <td>2007.9.15后下限</td>
            <td>6.50%</td>
            <td>6.66%</td>
          </tr>
          <tr>
            <td>2007.9.15后上限</td>
            <td>7.65%</td>
            <td>7.83%</td>
          </tr>
          <tr>
            <td>2007.12.21后下限</td>
            <td>6.58%</td>
            <td>6.66%</td>
          </tr>
          <tr>
            <td>2007.12.21后上限</td>
            <td>7.74%</td>
            <td>7.83%</td>
          </tr>
          <tr>
            <td colspan="3" align="left" style="color:#666;line-height:18px;">2005年1月1日，第1次加息；<br />
              2005年3月17日，第2次加息；<br />
              2006年4月28日，第3次加息，此后银行可以选择下限和上限之间的利率。<br />
              2006年8月19日，第4次加息；<br />
              2007年3月18日，第5次加息。<br />
              2007年5月19日，第6次加息。<br />
              2007年7月21日，第7次加息。<br />
              2007年8月22日，第8次加息。<br />
              2007年9月14日，第9次加息。<br />
              2007年12月21日，第10次加息</td>
          </tr>
        </table>
      </div>
    </div>
    <!--右边-->
    <div class="right">
      <div class="r1">个人住房公积金贷款计算器</div>
      <div class="r6">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" >
          <tr>
            <td align="center"><form method="post" action="" name="formt2">
                <table width="500" height="293" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#DBB360">
                  <tbody>
                    <tr>
                      <td valign="top" bgcolor="#fffbec"><div align="center"><br>
                          <input size="20" name="id_card" onBlur="c_id_card(this.form)" type="hidden">
                          <table align="center" border="0" cellpadding="2" cellspacing="2" width="100%">
                            <tbody>
                              <tr>
                                <td align="right" width="20%"><div align="center">住房公积金<br>
                                    个人月缴存额：</div></td>
                                <td align="center" width="22%"><div align="left">
                                    <input name="mount2" size="10">
                                    元</div></td>
                                <td align="right" nowrap="nowrap" width="12%"><div align="center">缴存比例：</div></td>
                                <td align="center" width="42%"><div align="left">
                                    <input name="jcbl" value="8" size="3" type="text">
                                    %</div></td>
                              </tr>
                              <tr>
                                <td align="right"><div align="center">配偶住房公积金<br>
                                    个人月缴存额：</div></td>
                                <td align="center"><div align="left">
                                    <input name="mount3" size="10">
                                    元</div></td>
                                <td align="right"><div align="center">缴存比例：</div></td>
                                <td align="center"><div align="left">
                                    <input name="p_bl" size="3" value="8" type="text">
                                    %</div></td>
                              </tr>
                              <tr>
                                <td align="right"><div align="center">房屋评估价值<br>
                                    或实际购房款：</div></td>
                                <td align="center"><div align="left">
                                    <input size="10" name="mount">
                                    元</div></td>
                                <td align="right"><div align="center">房屋性质：</div></td>
                                <td align="center"><div align="left">
                                    <input name="xz" type="radio">
                                    政策性住房
                                    <input checked="checked" name="xz" type="radio">
                                    其它</div></td>
                              </tr>
                              <tr>
                                <td align="right"><div align="center">贷款申请年限：</div></td>
                                <td align="center"><div align="left">
                                    <input size="10" name="mount10">
                                    年</div></td>
                                <td colspan="2" align="left"><span style="font-weight:bold">（注： 贷款期限最长可以计算到借款人70周岁，<br>
                                  同时不得超过30年。 ）</span></td>
                              </tr>
                              <tr>
                                <td align="right"><div align="center">个人信用等级：</div></td>
                                <td colspan="3" align="center"><input name="xy" type="radio">
                                  AAA级
                                  <input name="xy" option="" type="radio">
                                  AA级
                                  <input checked="checked" name="xy" type="radio">
                                  其它</td>
                              </tr>
                            </tbody>
                          </table>
                          <br>
                        </div></td>
                    </tr>
                    <tr>
                      <td height="30" align="center" bgcolor="#fffbec"><input onclick="gjjloan1(this.form)" value="开始计算" name="math2" type="button" style="margin-right:20px" />
                        <input value="清除数据" name="qx" type="reset" /></td>
                    </tr>
                    <tr>
                      <td height="20" valign="top" bgcolor="#fffbec"><div align="center"><font color="#cc3300">您可以申请的最高贷款额度是：</font>
                          <input maxlength="4" size="4" name="ze2">
                          万元</div></td>
                    </tr>
                    <tr>
                      <td height="20" valign="top" bgcolor="#fffbec">&nbsp;</td>
                    </tr>
                    <tr>
                      <td class="p10" valign="top"><div align="center">
                          <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
                            <tbody>
                              <tr>
                                <td width="42%" align="right" bgcolor="#fffbec">您所需要的贷款额度：</td>
                                <td width="58%" align="left" bgcolor="#fffbec"><input size="5" name="need">
                                  万元<span style="font-weight:bold">（注：不能高于上述额度）</span></td>
                              </tr>
                              <tr>
                                <td width="42%" align="right" bgcolor="#fffbec">请选择还款方式：</td>
                                <td width="58%" align="left" bgcolor="#fffbec"><select name="select">
                                    <option value="1">等额均还</option>
                                    <option value="2">等额本金</option>
                                    <option value="3" selected="selected">自由还款</option>
                                  </select></td>
                              </tr>
                              <tr>
                                <td height="30" colspan="2" align="center" bgcolor="#fffbec"><div align="center"> <br>
                                    <input onClick="gjjloan2(this.form)" value="开始计算" name="math3" type="button" style="margin-right:20px">
                                    <input value="清除" type="reset">
                                  </div></td>
                              </tr>
                              <tr>
                                <td height="20" colspan="2" align="center" bgcolor="#fffbec">&nbsp;</td>
                              </tr>
                            </tbody>
                          </table>
                          <input name="yj2" type="hidden">
                          <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#fffbec">
                            <tbody>
                              <tr>
                                <td colspan="2" align="center" height="25"><div align="center"><font color="#cc3300">[等额均还方式计算结果]</font></div></td>
                                <td rowspan="5" align="center" bgcolor="#000000" width="1"><div align="center"></div></td>
                                <td colspan="2" align="center"><div align="center"><font color="#cc3300">[等额本金方式计算结果]</font></div></td>
                                <td rowspan="5" align="center" bgcolor="#000000" width="1"><div align="center"></div></td>
                                <td colspan="2" align="center" height="25"><div align="center"><font color="#cc3300">[自由还款方式计算结果]</font></div></td>
                              </tr>
                              <tr>
                                <td align="center" nowrap="nowrap" width="17%">　月均还款额：</td>
                                <td align="center" nowrap="nowrap" width="16%"><input size="8" name="ze22">
                                  元</td>
                                <td align="center" nowrap="nowrap" width="17%">　首月还款额：</td>
                                <td align="center" nowrap="nowrap" width="16%"><input size="8" name="sfk2">
                                  元</td>
                                <td align="center" nowrap="nowrap">　最低还款额：</td>
                                <td align="left" nowrap="nowrap" width="19%"><input size="8" name="sfk3">
                                  元</td>
                              </tr>
                              <tr>
                                <td align="center" nowrap="nowrap" width="17%">&nbsp;</td>
                                <td align="center" nowrap="nowrap" width="16%">&nbsp;</td>
                                <td align="center" nowrap="nowrap" width="17%">&nbsp;</td>
                                <td align="center" nowrap="nowrap" width="16%">&nbsp;</td>
                                <td align="center" nowrap="nowrap">　最后期本金：</td>
                                <td align="left" nowrap="nowrap" width="19%"><input size="8" name="lx4">
                                  元</td>
                              </tr>
                              <tr>
                                <td align="center" nowrap="nowrap">　本息合计：</td>
                                <td align="center" nowrap="nowrap"><input size="8" name="lx2">
                                  元</td>
                                <td align="center" nowrap="nowrap">　本息合计：</td>
                                <td align="center" nowrap="nowrap"><input size="8" name="lx3">
                                  元</td>
                                <td align="center" nowrap="nowrap">　最后期利息：</td>
                                <td align="left" nowrap="nowrap" width="19%"><input size="8" name="lx5">
                                  元</td>
                              </tr>
                              <tr>
                                <td align="center" width="17%">&nbsp;&nbsp;</td>
                                <td align="center" width="16%">&nbsp;&nbsp;</td>
                                <td align="center" width="17%">&nbsp;&nbsp;</td>
                                <td align="center" width="16%">&nbsp;&nbsp;</td>
                                <td align="center" nowrap="nowrap">　总偿还利息：</td>
                                <td align="left" nowrap="nowrap" width="19%"><input size="8" name="lx6">
                                  元</td>
                              </tr>
                            </tbody>
                          </table>
                        </div></td>
                    </tr>
                  </tbody>
                </table>
               <script language="JavaScript" type="text/javascript">
			   function gjjloan2(obj)
{

  var gryjce;//住房公积金个人月缴存额
  var poyjce;//配偶住房公积金个人月缴存额
  var grjcbl;//缴存比例
  var pojcbl;//配偶缴存比例
  var xy; //个人信用
  var fwzj;//房屋总价
  var fwxz;//房屋性质
  var dknx;//贷款申请年限
  var syhk; //首月还款额

  var dked;//需要贷款额度
  var hkfs;//还款方式
  var bxhj; //本息合计
  var bxhj2; //本息合计等本金

//中间变量
 var gbl;
 var jtysr; //家庭月收入
 var r;//月还款
 var rb;
 var gjjdka;//住房公积金贷款额度a
 var gjjdkb;//住房公积金贷款额度b
 var gjjdkc;//住房公积金贷款额度c


 gryjce=obj.mount2.value;
if(gryjce<=0){
	alert('住房公积金个人月缴存额不能为空,请输入.');
         obj.mount2.value='';
         obj.mount.focus();
         return;
}

 poyjce=obj.mount3.value;
/*if (obj.jcbl[0].checked==true)
{grjcbl=0.08;}
else {grjcbl=0.1;}

if (obj.p_bl[0].checked==true){pojcbl=0.08;}
else {pojcbl=0.1;}
*/
grjcbl=obj.jcbl.value/100;
pojcbl=obj.p_bl.value/100;
if (obj.xz[0].checked==true){fwxz=0.9;}
else {fwxz=0.8;}

if (obj.xy[0].checked==true){xy=1.15;}
else if(obj.xy[1].checked==true){xy=1.3;}
else {xy=1;}



 fwzj=obj.mount.value;

if(fwzj<=0){alert('房屋总价不能为空,请输入');
                     obj.mount.value='';return;}

 dknx=Math.round(obj.mount10.value);
//alert(dknx);
if(dknx<=0){alert('贷款申请年限不能为空,请输入');
                     obj.mount10.value='';return;}





switch(dknx){	//月均还款速算表
case 1: r=853.37;break; 
case 2: r=436.08;break; 
case 3: r=297.07;break; 
case 4: r=227.63;break; 
case 5: r=186.02;break; 
case 6: r=160.4;break;  
case 7: r=140.68;break; 
case 8: r=125.93;break; 
case 9: r=114.5;break;  
case 10: r=105.38;break;
case 11: r=97.95;break; 
case 12: r=91.79;break; 
case 13: r=86.6;break;  
case 14: r=82.17;break; 
case 15: r=78.35;break; 
case 16: r=75.03;break; 
case 17: r=72.12;break; 
case 18: r=69.55;break; 
case 19: r=67.27;break; 
case 20: r=65.22;break; 
case 21: r=63.39;break; 
case 22: r=61.74;break; 
case 23: r=60.24;break; 
case 24: r=58.89;break; 
case 25: r=57.65;break; 
case 26: r=56.51;break; 
case 27: r=55.48;break; 
case 28: r=54.52;break; 
case 29: r=53.64;break; 
case 30: r=52.83;break; 
  }

jtysr=Math.ceil((gryjce/grjcbl+poyjce/pojcbl)*10)/10;
gjjdka=Math.min(Math.round((jtysr-400)/r*10000*10)/10,600000);
gjjdkb=Math.round(gjjdka*xy*10)/10;
gjjdkc=Math.round(fwzj*fwxz*10)/10;
//obj.ze2.value=gjjdka; //jtysr;
//obj.ze2.value=Math.floor(Math.min(gjjdkb,gjjdkc)/10000*10)/10;

//计算2
zgdk=obj.ze2.value; //最高贷款额度

dked=Math.round(obj.need.value*10)/10;

obj.need.value=dked;

if(dked==0){alert('需要的贷款额度不能为空,请输入');
                     obj.need.value='';return;}
if(dked<0){alert('输入的贷款额度不符合要求,请输入');
                     obj.need.value='';return;}

if(!reg_Num(obj.need.value)){alert('需要的贷款额度必须是数字');obj.need.value='';return;}
if(dked>zgdk){alert('不能高于最高贷款额度,请重新输入');
                     obj.need.value='';return;}


hkfs=obj.select.value;

if(hkfs==1){
//obj.ze22.value=Math.ceil(dked*r*100)/100;
//==============================modify by xujianfei
var ylv_new ;

if(dknx>=1&&dknx<=5)
ylv_new = "0.003675";
else
ylv_new = "0.004050";


var ncm  = parseFloat(ylv_new) + 1;//n次幂
//alert(ncm);
var dknx_new = dknx*12;
//alert(dknx_new);
/*switch(dknx_new){         //等额本金还款方式首月还款额参照表
  case 1 : total_ncm = ncm;        break;
  case 2 : total_ncm = ncm*ncm;   break;
  case 3 : total_ncm = ncm*ncm*ncm;   break;
  case 4 : total_ncm = ncm*ncm*ncm*ncm;   break;
  case 5 : total_ncm = ncm*ncm*ncm*ncm*ncm;   break;
  case 6 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 7 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 8 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 9 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 10 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 11 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 12 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 13 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 14 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 15 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 16 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 17 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 18 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 19 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 20 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 21 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 22 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 23 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 24 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 25 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 26 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 27 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 28 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 29 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  case 30 : total_ncm = ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm*ncm;   break;
  }
  */


total_ncm = Math.pow(ncm, dknx_new)
//==============================
/*
 var total = ((dked*10000*ylv_new*total_ncm)/(total_ncm-1))*1000;
//alert(total);
var total1 = (total.toString()).indexOf(".");
var total2 = (total.toString()).substring(0,total1);//
var total3 = (total2.toString()).substring(total2.length-1,total2.length);//最后一位
var total4 = parseInt((total2.toString()).substring(total2.length-2,total2.length-1));//倒数二位
//alert(total3);
if(parseInt(total3)>=5)
total4 = total4 + 1;
total2 = (total2.toString()).substring(0,total2.length-2)+total4.toString();
//alert(total2);
obj.ze22.value = parseFloat(total2)/100;
*/
obj.ze22.value = Math.round(((dked*10000*ylv_new*total_ncm)/(total_ncm-1))*100)/100;
var pp = Math.round(((dked*10000*ylv_new*total_ncm)/(total_ncm-1))*100)/100;

//=========================================================
gbl=Math.round(Math.ceil(dked*r*100)/100/jtysr*1000)/10;
obj.yj2.value=gbl;
//bxhj=Math.round(r*dked*dknx*12*100)/100;
bxhj = Math.round(pp*dknx*12*100)/100;
obj.lx2.value=bxhj;
}
if (hkfs==2)
{

switch(dknx){         //等额本金还款方式首月还款额参照表
  case 1 :  rb=4.41; break;
  case 2 :  rb=4.41;  break;
  case 3 :  rb=4.41;  break;
  case 4 :  rb=4.41;  break;
  case 5 :  rb=4.41;  break;
  case 6 :  rb=4.86;  break;
  case 7 :  rb=4.86;  break;
  case 8 :  rb=4.86;  break;
  case 9 :  rb=4.86;  break;
  case 10 : rb=4.86;  break;
  case 11 : rb=4.86;  break;
  case 12 : rb=4.86;  break;
  case 13 : rb=4.86;  break;
  case 14 : rb=4.86;  break;
  case 15 : rb=4.86;  break;
  case 16 : rb=4.86;  break;
  case 17 : rb=4.86;  break;
  case 18 : rb=4.86;  break;
  case 19 : rb=4.86;  break;
  case 20 : rb=4.86;  break;
  case 21 : rb=4.86;  break;
  case 22 : rb=4.86;  break;
  case 23 : rb=4.86;  break;
  case 24 : rb=4.86;  break;
  case 25 : rb=4.86;  break;
  case 26 : rb=4.86;  break;
  case 27 : rb=4.86;  break;
  case 28 : rb=4.86;  break;
  case 29 : rb=4.86;  break;
  case 30 : rb=4.86;  break;
  }
syhk=Math.round((dked*10000/(dknx*12)+dked*10000*rb/(100*12))*100)/100;
obj.sfk2.value=syhk;
var yhke; //月还款额
var bxhj; //本息合计
var dkys; //贷款月数
var sydkze;//当前剩余贷款总额
var yhkbj; //月还款本金
dkys=dknx*12;
yhkbj=dked*10000/dkys;

yhke=syhk;
sydkze=dked*10000-yhkbj;
bxhj=syhk;
for (var count=2;count<=dkys; ++count)
	{
       		//yhke=Math.round((dked*10000/(dknx*12)+sydkze*rb/(100*12))*100)/100;
		yhke=dked*10000/dkys+sydkze*rb/1200;
		sydkze-=yhkbj;
		bxhj+=yhke;
	}
obj.lx3.value= Math.round(bxhj*100)/100;
}

if (hkfs==3)
{

switch(dknx){//自由还款还款方式月最低还款额参照表
	case 1 :  rb=83.04/100; break;
	case 2 :  rb=81.08/100; break;
	case 3 :  rb=79.12/100; break;
	case 4 :  rb=77.16/100; break;
	case 5 :  rb=75.20/100; break;
	case 6 :  rb=73.24/100; break;
	case 7 :  rb=71.28/100; break;
	case 8 :  rb=69.32/100; break;
	case 9 :  rb=67.36/100; break;
	case 10 :  rb=65.40/100; break;
	case 11 :  rb=63.44/100; break;
	case 12 :  rb=61.48/100; break;
	case 13 :  rb=59.52/100; break;
	case 14 :  rb=57.56/100; break;
	case 15 :  rb=55.60/100; break;
	case 16 :  rb=53.64/100; break;
	case 17 :  rb=51.68/100; break;
	case 18 :  rb=49.72/100; break;
	case 19 :  rb=47.76/100; break;
	case 20 :  rb=45.80/100; break;
	case 21 :  rb=43.84/100; break;
	case 22 :  rb=41.88/100; break;
	case 23 :  rb=39.92/100; break;
	case 24 :  rb=37.96/100; break;
	case 25 :  rb=36.00/100; break;
	case 26 :  rb=34.04/100; break;
	case 27 :  rb=32.08/100; break;
	case 28 :  rb=30.12/100; break;
	case 29 :  rb=28.16/100; break;
	case 30 :  rb=26.20/100; break;
}
var yhke; //月还款额
var ll;//利率
var zhbj;//最后一期本金
zhbj = Math.round(dked*10000*rb*100)/100;
if (dknx<=5)
{
	ll=0.0441/12;
	zdhkll=0.0378/12;
	var total_gjj = Math.pow(zdhkll + 1, dknx*12);
	syhk=Math.ceil(dked*10000*zdhkll*total_gjj/(total_gjj-1));
}
else
{
	ll=0.0486/12;
	zdhkll=0.0423/12;
	var total_gjj = Math.pow(zdhkll + 1, dknx*12-1);
	syhk=Math.ceil((dked*10000-zhbj)*zdhkll*total_gjj/(total_gjj-1)+zhbj*zdhkll);
}
	obj.sfk3.value=syhk;       //最低还款额
	var zhyqbj=dked*10000;
	var zchlx=0;//总偿还利息
	for (i=1;i<dknx*12 ;i++ )
	{
		zchlx+=Math.round(zhyqbj*ll*100)/100;
		zhyqbj=Math.round((zhyqbj-(syhk-Math.round(zhyqbj*ll*100)/100))*100)/100;
	}
	var sydkze=dked*10000-syhk;
	obj.lx4.value=zhyqbj;    //最后期本金
	obj.lx5.value=Math.round(zhyqbj*ll*100)/100;
	/*for (i=1;i<dknx*12 ;i++ )
	{
		zchlx+=Math.round((dked*10000-(syhk-Math.round(dked*10000*ll*100)/100))*ll*100)/100;
	}*/
	zchlx+=Math.round(zhyqbj*ll*100)/100;
	obj.lx6.value=Math.round(zchlx*100)/100;
}


//计算申请的最高贷款额度
/*
说明
家庭月收入＝住房公积金个人月缴存额÷缴存比例+配偶住房公积金个人月缴存额÷缴存比例

住房公积金贷款额度a＝（家庭月收入－400）÷等额均还月还款额每万元月还款额，且不大于40万元

对于个人信用等级为AAA的，住房公积金贷款额度b＝住房公积金贷款额度a×130％

对于个人信用等级为AA的，住房公积金贷款额度b＝住房公积金贷款额度a×115％

对于个人信用等级其它的，住房公积金贷款额度b＝住房公积金贷款额度a

对房屋性质为商品房期房的，住房公积金贷款额度c＝房屋总价×90％

对房屋性质为其它的，住房公积金贷款额度c＝房屋总价×95％

最高贷款额度d＝min（b，c）

等额均还还款公式：

等额本金还款公式

首月还款额=P/（n×12）+借款总额×I

其中：P为贷款本金，I为月利率，n为贷款年限。 */
}


function isIdCardNo(sNo){
 sNo = sNo.toString()
  if (sNo.length==18)
    {

  var a,b,c
  if (!isInt(sNo.substr(0,17))) {return false}

  a=parseInt(sNo.substr(0,1))*7+parseInt(sNo.substr(1,1))*9+parseInt(sNo.substr(2,1))*10;
  a=a+parseInt(sNo.substr(3,1))*5+parseInt(sNo.substr(4,1))*8+parseInt(sNo.substr(5,1))*4;
  a=a+parseInt(sNo.substr(6,1))*2+parseInt(sNo.substr(7,1))*1+parseInt(sNo.substr(8,1))*6;
  a=a+parseInt(sNo.substr(9,1))*3+parseInt(sNo.substr(10,1))*7+parseInt(sNo.substr(11,1))*9;
  a=a+parseInt(sNo.substr(12,1))*10+parseInt(sNo.substr(13,1))*5+parseInt(sNo.substr(14,1))*8;
  a=a+parseInt(sNo.substr(15,1))*4+parseInt(sNo.substr(16,1))*2;
  b=a%11;

  if (b==2)
  {
	  c=sNo.substr(17,1);
   //c=sNo.substr(17,1).toUpperCase();
  }
  else
  {
   c=parseInt(sNo.substr(17,1));
  }

  switch(b)
  {
   case 0: if ( c!=1 ) {return false;}break;
   case 1: if ( c!=0 ) {return false;}break;
   case 2: if ( c!="X") {return false;}break;
   case 3: if ( c!=9 ) {return false;}break;
   case 4: if ( c!=8 ) {return false;}break;
   case 5: if ( c!=7 ) {return false;}break;
   case 6: if ( c!=6 ) {return false;}break;
   case 7: if ( c!=5 ) {return false;}break;
   case 8: if ( c!=4 ) {return false;}break;
   case 9: if ( c!=3 ) {return false;}break;
   case 10: if ( c!=2 ){return false}
  }
 }
 else
 {
  if (!isInt(sNo)) {return false}
 }

 switch(sNo.length){
  case 15: if (isValidDate(sNo.substr(6,2),sNo.substr(8,2),sNo.substr(10,2))) {return true}
  case 18: if (isValidDate(sNo.substr(6,4),sNo.substr(10,2),sNo.substr(12,2))) {return true}
  }
 return false
}
function isValidDate(iY, iM, iD) { var undefined
  if ( iY != undefined && !isNaN(iY) && iY >=0 && iY<=9999 &&
       iM != undefined && !isNaN(iM) && iM >=1   && iM<=12   &&
       iD != undefined && !isNaN(iD) && iD >=1   && iD<=31  )  {
       if (iY<50) iY = 2000+iY; else if (iY<100) iY=1900+iY;
    if (iM == 2  && (isLeapYear(iY)  && iD > 29 || !isLeapYear(iY) && iD>28) ||
        iD == 31 && (iM<7 && iM%2==0 || iM>7 && iM%2==1) )
  return false
 else return true      }
 else  return false }

function isLeapYear(year)
{
if((year%4==0&&year%100!=0)||(year%400==0))
{
return true;
}

return false;
}
function isEmpty (str) {
if ((str==null)||(str.length==0)) return true;
else return(false);
}
function isInt (theStr) {
var flag = true;

if (isEmpty(theStr)) { flag=false; }
else
{ for (var i=0; i<theStr.length; i++) {
if (theStr.substring(i,i+1) ==".") {
flag = false; break;
}
}
}
return(flag);
}
function isnumeric(p)
{
 if (p == "")
  return false;
 var l = p.length;
 var count=0;
 for(var i=0; i<l; i++)
 {
  var digit = p.charAt(i);
  if(digit == "." )
 {
    ++count;
    if(count>1) return false;
   }
  else if(digit < "0" || digit > "9")
  return false;
 }
 return true;
}
function Format(num,dotLen) {

    var dot=0
    var num1=0
//change by liyugen
    if (typeof dotLen=="undefined")
        dot=2
    else
        dot=dotLen
    if (isNaN(parseFloat(num)))
        return 0
    else
        num1=parseFloat(num)
    var n1=Math.pow(10,dot)
    if (n1==0)
        var iValue= Math.round(num1)
    else
        var iValue=    Math.round(num1*n1)/n1
  var sValue = iValue.toString();
  if (sValue.indexOf(".") == -1)
  {
      sValue = sValue + ".00";
  }
  else
  {
      if (sValue.indexOf(".") == sValue.length - 1)
      {
          sValue = sValue + "00";
      }
      else if (sValue.indexOf(".") == sValue.length - 2)
      {
          sValue = sValue + "0";
      }
  }
return sValue
}
function reg_Num(str){
	if (str.length==0){return false;}
	var Letters = "1234567890.";

	for (i=0;i<str.length;i++){
		var CheckChar = str.charAt(i);
		if (Letters.indexOf(CheckChar) == -1){return false;}
	}
	return true;
}
function gjjloan1(obj)
{
  var gryjce;//住房公积金个人月缴存额
  var poyjce;//配偶住房公积金个人月缴存额
  var grjcbl;//缴存比例
  var pojcbl;//配偶缴存比例
  var xy;//个人信用
  var fwzj;//房屋总价
  var fwxz;//房屋性质
  var dknx;//贷款申请年限
  var syhk;//首月还款额

  var dked;//需要贷款额度
  var hkfs;//还款方式
  var bxhj;//本息合计
  var bxhj2;//本息合计等本金

//中间变量
 var gbl;
 var jtysr;//家庭月收入
 var r;//月还款
 var gjjdka;//住房公积金贷款额度a
 var gjjdkb;//住房公积金贷款额度b
 var gjjdkc;//住房公积金贷款额度c

 gryjce=obj.mount2.value;
if(!reg_Num(obj.mount2.value)){alert('住房公积金个人月缴存额不能为空,请输入数字');
                     obj.mount2.value='';obj.mount2.focus();return;}

 poyjce=obj.mount3.value;
 if(poyjce.length>0 && !reg_Num(poyjce))
{alert("配偶月缴存额录入不正确");return;}
/*if (obj.jcbl[0].checked==true){grjcbl=0.08;}
else {grjcbl=0.1;}

if (obj.p_bl[0].checked==true){pojcbl=0.08;}
else {pojcbl=0.1;}
*/
if (obj.jcbl.value=="" || !isInt(obj.jcbl.value) || Number(obj.jcbl.value)<=0 ||Number(obj.jcbl.value)>=100)
{
	alert("缴存比例不正确");return;
}
if (poyjce.length>0 &&(obj.p_bl.value=="" || !isInt(obj.p_bl.value) || Number(obj.p_bl.value)<=0||Number(obj.p_bl.value)>=100) )
{
	alert("配偶缴存比例不正确");return;
}
grjcbl=obj.jcbl.value/100;
pojcbl=obj.p_bl.value/100;
/*
if (obj.xz[0].checked==true){fwxz=0.9;}
else {fwxz=0.95;}
*/
if (obj.xz[0].checked==true){fwxz=0.9;}
else {fwxz=0.8;}

if (obj.xy[0].checked==true){xy=1.3;}
else if(obj.xy[1].checked==true){xy=1.15;}
else {xy=1;}

 fwzj=obj.mount.value;

if(fwzj<=0){alert('＂房屋评估价值或实际购房款＂不能为空,请输入');
                     obj.mount.value='';return;}

 dknx=Math.round(obj.mount10.value);

if(dknx<=0){alert('贷款申请年限不能为空,请输入');
                     obj.mount10.value='';return;}
if(dknx>30){alert('贷款申请年限不能大于30年,请重新输入');
                     obj.mount10.value='';return;}

switch(dknx){	//月均还款速算表
 case 1: r=853.37;break; 
case 2: r=436.08;break; 
case 3: r=297.07;break; 
case 4: r=227.63;break; 
case 5: r=186.02;break; 
case 6: r=160.4;break;  
case 7: r=140.68;break; 
case 8: r=125.93;break; 
case 9: r=114.5;break;  
case 10: r=105.38;break;
case 11: r=97.95;break; 
case 12: r=91.79;break; 
case 13: r=86.6;break;  
case 14: r=82.17;break; 
case 15: r=78.35;break; 
case 16: r=75.03;break; 
case 17: r=72.12;break; 
case 18: r=69.55;break; 
case 19: r=67.27;break; 
case 20: r=65.22;break; 
case 21: r=63.39;break; 
case 22: r=61.74;break; 
case 23: r=60.24;break; 
case 24: r=58.89;break; 
case 25: r=57.65;break; 
case 26: r=56.51;break; 
case 27: r=55.48;break; 
case 28: r=54.52;break; 
case 29: r=53.64;break; 
case 30: r=52.83;break; 
  }
if(poyjce.length>0)
{
	jtysr=Math.ceil((gryjce/grjcbl+poyjce/pojcbl)*10)/10;
}
else
{
	jtysr=Math.ceil((gryjce/grjcbl)*10)/10;
}
if(jtysr<=400){alert('家庭月收入低于400，不符合贷款条件');
                     return;}

gjjdka=Math.min(Math.round((jtysr-400)/r*10000*10)/10,600000);
gjjdkb=Math.round(gjjdka*xy*10)/10;
gjjdkc=Math.round(fwzj*fwxz*10)/10;
//obj.ze2.value=gjjdka; //jtysr;
obj.ze2.value=Math.floor(Math.min(gjjdkb,gjjdkc)/10000*10)/10;
zgdk=obj.ze2.value; //最高贷款额度












//计算申请的最高贷款额度

/*
说明
家庭月收入＝住房公积金个人月缴存额÷缴存比例+配偶住房公积金个人月缴存额÷缴存比例

住房公积金贷款额度a＝（家庭月收入－400）÷等额均还月还款额每万元月还款额，且不大于40万元

对于个人信用等级为AAA的，住房公积金贷款额度b＝住房公积金贷款额度a×130％

对于个人信用等级为AA的，住房公积金贷款额度b＝住房公积金贷款额度a×115％

对于个人信用等级其它的，住房公积金贷款额度b＝住房公积金贷款额度a

对房屋性质为商品房期房的，住房公积金贷款额度c＝房屋总价×90％

对房屋性质为其它的，住房公积金贷款额度c＝房屋总价×95％

最高贷款额度d＝min（b，c）

等额均还还款公式：


等额本金还款公式

首月还款额=P/（n×12）+借款总额×I

其中：P为贷款本金，I为月利率，n为贷款年限。


  */

}

        </script>
              </form></td>
          </tr>
        </table>
      </div>
    </div>
  </div>
</div>
<!--注脚-->
<div class="footer">
  <div class="link3" align="center">
    <div><a href="/">QZFC简介</a><span>|</span><a href="/">用户注册</a><span>|</span><a href="/">隐私声明</a><span>|</span><a href="/">服务条款</a><span>|</span><a href="/">合作加盟</a><span>|</span><a href="/">联系我们</a><span>|</span><a href="/">友情链接</a><span>|</span><a href="/">帮助中心</a></div>
    <div>中国·福建·泉州·丰泽区泉秀路宝成大厦1#&nbsp;&nbsp;&nbsp;客服电话：0595-24663003&nbsp;&nbsp;&nbsp;传真: 0595-22164848</div>
    <div>大泉州房产网 qzfc.com  版权所有 © 2008-2009</div>
  </div>
</div>
</body>
</html>
